<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var str = `
        [{"name":"李四666","data":[2019,10,11]},
        {"name":"张三666","data":[2017,10,11]},
        {"name":"王五666","data":[2018,10,11]}]

        `
        var arr = JSON.parse(str);
        var list = [];
        arr.forEach(item => {
            name = item.name.replace(/\d/g,"")+"...";
            data = item.data.join("-")
            list.push({
                name,
                data
            })
        });
        console.log(list)
    </script>
</body>
</html>